package com.ruoyi.manage.service;

import com.ruoyi.common.core.domain.R;

import java.util.Map;

/**
 * @author : 赵志冲
 * @date : 2024-07-02 20:32
 * @description :
 **/
public interface IWxChatPayService {
    /**
     * 微信支付
     * @param orderId 订单id
     * @param amount 金额
     * @return  R<Map<String, Object>>
     */
    R<Map<String, Object>> wxChatPay(String orderId, Integer amount);

    /**
     * 查询微信订单
     * @param orderId 订单id
     * @return  R<String>
     */
    R<String> queryWxOrder(Long orderId);
}
